package com.geely.design.pattern.creational.singleton;

public class LazyStaticInnerClassSingleton {

    private LazyStaticInnerClassSingleton(){}

    private static LazyStaticInnerClassSingleton getInstance(){
        return LazyHolder.INNER_CLASS_SINGLETON;
    }

    private static class LazyHolder{
        private static final LazyStaticInnerClassSingleton INNER_CLASS_SINGLETON
                = new LazyStaticInnerClassSingleton();
    }


    public static void main(String[] args) {
        System.out.println(LazyStaticInnerClassSingleton.getInstance());
    }
}
